Skip to content

Conversation

@gipert
Copy link
Member

@gipert gipert commented Sep 27, 2025

Summary

  • Converted the build_processing_chain documentation to a YAML-focused example and corrected the processor reference text.
  • Added module-level docstrings throughout the processor package to describe each module and align YAML configuration examples (e.g., baseline subtraction and convolution filters).
  • Clarified processor docstrings to fix formatting and semantics, including machine-learning activations and conditional selection helpers.

Testing

  • pre-commit run --all-files
  • make

https://chatgpt.com/codex/tasks/task_e_68d7b6502b7c8330ac88bdb6f6a4a494

@gipert gipert requested a review from iguinn September 27, 2025 10:58
@gipert gipert changed the title Restore JSON mention in processing chain documentation Improve docstrings Sep 27, 2025
@iguinn
Copy link
Collaborator

iguinn commented Oct 2, 2025

For a lot of the YAML output, I'm not sure I'd say it's helping with clarity. The problem is it really blows up the number of lines by turning [arg1, arg2, arg2] into

- arg1
- arg2
- arg3

Also some of the module descriptions aren't accurate (for example the histograming is for building a histogram of samples; the moving window average is for performing a moving window average convolution of the waveform, etc.)

@gipert
Copy link
Member Author

gipert commented Oct 2, 2025

yeah the AI is not perfect. we can ask it to turn some of the lists to inline. could you give suggestions on the docstrings?

@gipert gipert force-pushed the codex/fix-docstrings-and-convert-json-to-yaml branch from 7d882e8 to fb6883f Compare November 21, 2025 19:32
@gipert
Copy link
Member Author

gipert commented Nov 21, 2025

@iguinn fine to merge this?

@iguinn iguinn merged commit 7639939 into main Dec 3, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants